﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageAdmin.master" AutoEventWireup="true"
    CodeFile="NonTermCurrent.aspx.cs" Inherits="Plublic_NonTermCurrent" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <form runat="server" method="post">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="CSSTableGenerator">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" DataKeyNames="AccountNumber"
                    BackColor="#FFFFCC" OnRowCommand="GridView1_RowCommand">
                    <Columns>
                        <asp:TemplateField HeaderText="Account Number">
                            <ItemTemplate>
                                <%# Eval("AccountNumber")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Account Holders">
                            <ItemTemplate>
                                <%# Eval("AccountHolders")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Open Date">
                            <ItemTemplate>
                                <%# Eval("OpenDate")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Balance">
                            <ItemTemplate>
                                <%# Eval("Balance", "{0:0}")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Currency">
                            <ItemTemplate>
                                <%# Eval("Currency")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Interest Rate">
                            <ItemTemplate>
                                <%# Eval("InterestRate")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Address">
                            <ItemTemplate>
                                <%# Eval("Address")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Descriptions">
                            <ItemTemplate>
                                <%# Eval("Descriptions")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="lbtnView" runat="server" CausesValidation="False" CommandName="View"
                                    Width="50" Text="View" CommandArgument='<%# DataBinder.Eval(Container, "RowIndex") %>'>
                                </asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
            <div class="CSSTableGenerator">
                <asp:GridView ID="GridViewDetails" runat="server" AutoGenerateColumns="false" BackColor="#FFFFCC"
                    DataKeyNames="TransactionID" OnRowCommand="GridViewDetails_RowCommand">
                    <Columns>
                        <asp:TemplateField HeaderText="Transaction Categories">
                            <ItemTemplate>
                                <%# Eval("name")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Status">
                            <ItemTemplate>
                                <%# Eval("status")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="AccountNumber">
                            <ItemTemplate>
                                <%# Eval("AccountNumber")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="AccountNumberTo">
                            <ItemTemplate>
                                <%# Eval("AccountNumberTo")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="DateTrans">
                            <ItemTemplate>
                                <%# Eval("DateTrans")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="AmountTransaction">
                            <ItemTemplate>
                                <%# Eval("AmountTransaction", "{0:0}")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Currency">
                            <ItemTemplate>
                                <%# Eval("Currency")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="lbtnView" runat="server" CausesValidation="False" CommandName="Confirm"
                                    Width="50" Text="Confirm" CommandArgument='<%# DataBinder.Eval(Container, "RowIndex") %>'>
                                </asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
            <div class="CSSTableGenerator">
                <asp:GridView ID="GridViewAll" runat="server" AutoGenerateColumns="false" BackColor="#FFFFCC"
                    DataKeyNames="TransactionID">
                    <Columns>
                        <asp:TemplateField HeaderText="Transaction Categories">
                            <ItemTemplate>
                                <%# Eval("name")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Status">
                            <ItemTemplate>
                                <%# Eval("status")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="AccountNumber">
                            <ItemTemplate>
                                <%# Eval("AccountNumber")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="AccountNumberTo">
                            <ItemTemplate>
                                <%# Eval("AccountNumberTo")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="DateTrans">
                            <ItemTemplate>
                                <%# Eval("DateTrans")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="AmountTransaction">
                            <ItemTemplate>
                                <%# Eval("AmountTransaction", "{0:0}")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Currency">
                            <ItemTemplate>
                                <%# Eval("Currency")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</asp:Content>
